package com.firexxx.study.designmodel.bridge;

/**
 * @description: 包含多个需要扩展维度的抽象类，这里包含的维度变化为包的颜色，包的种类
 * @throws:
 * @author: zhuangzhang2
 * @date: 2019/11/13 16:41
 */
public abstract class Bag {
    protected Color color;
    protected Size size;

    public Color getColor() {
        return color;
    }

    public void setColor(Color color) {
        this.color = color;
    }

    public Size getSize() {
        return size;
    }

    public void setSize(Size size) {
        this.size = size;
    }

    public abstract void show();
}